<div id="top-content">
	<div id="intro-content" class="scroll-content">
		<div class="body-block">
			<div class="scroll-pane">
				<div class="text">
					<?=$intro_text?>
				</div>
			</div>
		</div>
	</div>
	<div id="video-content">
		<div id="video"></div>
	</div>
</div>
<div id="bottom-content">
	<div id="main-content" class="home-content">
		<div id="news-content">
			<ul>
				<span><?=$this->lang->line('lastest-news');?></span>
				<?php foreach ($lastest_news as $news) { ?>
				<li>
					<a href="<?=site_url()?>news/detail/<?=$news->id ?>"><?=$news->title ?> (<?=$news->created_date ?>)</a>
				</li>
				<?php } ?>
			</ul>
		</div>
		<div class="main-box">
			<div class="main-box-top"><span><?=$this->lang->line('hot-product');?></span></div>
			<ul>
				<?php for($i=0; $i < count($hot_product); $i+=3) { ?>
				<li>
					<div class="product-item">
						<a href="<?=site_url()?>product/detail/<?=$hot_product[$i]->id?>"><span><?=$hot_product[$i]->title ?></span></a>
						<a href="<?=site_url()?>product/detail/<?=$hot_product[$i]->id?>"><img src="<?php echo base_url().UPLOAD_PATH.$hot_product[$i]->image_thumb ?>" width="135px" height="105px"/></a>
					</div>
					<?php if ($i+1 < count($hot_product)) {?>
					<div class="product-item">
						<a href="<?=site_url()?>product/detail/<?=$hot_product[$i+1]->id?>"><span><?=$hot_product[$i+1]->title ?></span></a>
						<a href="<?=site_url()?>product/detail/<?=$hot_product[$i+1]->id?>"><img src="<?php echo base_url().UPLOAD_PATH.$hot_product[$i+1]->image_thumb ?>" width="135px" height="105px"/></a>
					</div>
					<?php } ?>
					<?php if ($i+1 < count($hot_product)) {?>
					<div class="product-item">
						<a href="<?=site_url()?>product/detail/<?=$hot_product[$i+2]->id?>"><span><?=$hot_product[$i+2]->title ?></span></a>
						<a href="<?=site_url()?>product/detail/<?=$hot_product[$i+2]->id?>"><img src="<?php echo base_url().UPLOAD_PATH.$hot_product[$i+2]->image_thumb ?>" width="135px" height="105px"/></a>
					</div>
					<?php } ?>
				</li>
				<?php } ?>
			</ul>
			<div class="main-box-bottom"></div>
		</div>
	</div>
	<?php require_once 'components/partner.php'; ?>
	<?php require_once 'components/visitor.php'; ?>
</div>